import server from "../request/server.js";

export function queryAll(){
    return server({
        url:'/news',
        method:'get'
    })
}

export function addVolume(data){
    return server({
        url:'/news',
        method:'put',
        data
    })
}